// src/api/register.ts
// 店铺列表
import request from '../service/request' // request其实就可以看作式自定义之后的axois
export function getShopListData(params = {}){
    return  request.post('/shop/list', { params} );
}
// 店铺搜索
export function getShopSearchData(params = {}){
    return  request.post('/shop/search', { params} );
}
//店铺详情
export function getShopShopinfoData(params = {}){
    return  request.post('/shop/shopinfo',{  params} );
}
// 店铺收藏列表
export function getShopFavlistData(params = {}){
    return  request.post('/shop/favlist',{  params} );
}
// 收藏店铺
export function getShopFavData(params = {}){
    return  request.post('/shop/fav',  params );
}
//  取消收藏店铺
export function getShopUnfavData(params = {}){
    return  request.post('/shop/unfav',  params );
}